<h1>教师详细信息</h1>
<p>
  <b>姓名：</b>
  <%=h @teacher.tname %>
</p>

<p>
  <b>密码：</b>
  <%=h @teacher.tpassword %>
</p>

<p>
  <b>简介：</b>
  <%=h @teacher.tresume %>
</p>


<%= link_to '编辑', edit_teacher_path(@teacher) %>
<% if !(session[:teacher_id]) -%>
  | <%= link_to '返回', teachers_path %>
<% end -%>